package com.taxi.driver.module.order.list;

import com.taxi.driver.common.i.IBasePresenter;
import com.taxi.driver.common.i.IBaseView;
import com.taxi.driver.module.vo.OrderSummaryVO;

import java.util.List;

/**
 * 功能描述：
 */
public interface OrderListContract {

    interface View extends IBaseView<Presenter> {

        void setList(List<OrderSummaryVO> vos);

        void appendList(List<OrderSummaryVO> vos);

        void openOrderOngoing(String orderUuid);

        void openOrderDetail(String orderUuid,Integer subStatus);

        void reassign();//订单改派
    }

    interface Presenter extends IBasePresenter {

        void reqOrderDetail(String orderUuid);

        int driverType();

        void refresh();

        void loadMore();
    }
}
